function updateTerm(termId){
	    $.get("/system/config/menu/getSystemMenu", {"menuId": termId}, function (r) {
        if (r.code === 200) {
            var $form = $('#addTermModal');
            $form.modal('show');
            var systemMenu = r.msg;
            $form.find("input[name='name']").val(systemMenu.name);
            $form.find("input[name='oldName']").val(systemMenu.name);
            $form.find("input[name='link']").val(systemMenu.link);
            $form.find("input[name='icon']").val(systemMenu.icon);
            $form.find("input[name='status']").val(systemMenu.status);
            $form.find("input[name='id']").val(systemMenu.id);
            $termTree.setSelectedItem([systemMenu.parentId])
            $("#termAddBtn").attr("name","update");
        } else {
            $Jtk.n_danger(r.msg);
        }
    });
	
}